﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._XiangHe
{
    /// <summary>
    /// 供应商退货单行表
    /// </summary>
    public class SalesReturnSingle : Entity<int>
    {
        /// <summary>
        /// 退货单ID
        /// </summary>
        public int? ReturnId { get; set; }

        /// <summary>
        /// 退货单明细ID
        /// </summary>
        public int? RTId { get; set; }

        /// <summary>
        /// 物料ID
        /// </summary>
        public int? ItemId { get; set; }

        /// <summary>
        /// 物料编号，最大长度64
        /// </summary>
        public string? ItemCode { get; set; }

        /// <summary>
        /// 物料名称，最大长度255
        /// </summary>
        public string? ItemName { get; set; }

        /// <summary>
        /// 规格型号，最大长度500
        /// </summary>
        public string? SpecType { get; set; }

        /// <summary>
        /// 单位，最大长度64
        /// </summary>
        public string? Units { get; set; }

        /// <summary>
        /// 库存数量
        /// </summary>
        public double? StockNum { get; set; }

        /// <summary>
        /// 批次号，最大长度255
        /// </summary>
        public string? BatchCode { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int? WarehouseId { get; set; }

        /// <summary>
        /// 仓库编号，最大长度64
        /// </summary>
        public string? WarehouseCode { get; set; }

        /// <summary>
        /// 仓库名称，最大长度255
        /// </summary>
        public string? WarehouseName { get; set; }

        /// <summary>
        /// 库位ID
        /// </summary>
        public int? LocationId { get; set; }

        /// <summary>
        /// 库位编号，最大长度64
        /// </summary>
        public string? LocationCode { get; set; }

        /// <summary>
        /// 库位名称，最大长度255
        /// </summary>
        public string? LocationName { get; set; }

        /// <summary>
        /// 库区ID
        /// </summary>
        public int? AreaId { get; set; }

        /// <summary>
        /// 库区编号，最大长度64
        /// </summary>
        public string? AreaCode { get; set; }

        /// <summary>
        /// 库区名称，最大长度255
        /// </summary>
        public string? AreaName { get; set; }

        /// <summary>
        /// 有效期至
        /// </summary>
        public DateTime? ExpireDate { get; set; }

        /// <summary>
        /// 备注，最大长度500
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 创建者，最大长度64
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新者，最大长度64
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
